package com.ndp.fb.walle.model.vo.ruleresult.param;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * 广告优化，优化参数
 * Created by jacky.cheng on 2015/7/14.
 */
@Setter
@Getter
@NoArgsConstructor
public class RuleExecuteVoParam {

    /**
     * rule_script_optimize_snap id
     */
    private Long id;
    private Long ruleId;
    /**
     * adSet id
     */
    private Long adSetId;

    /**
     * 广告账号
     */
    private Long fbAccountId;
    /**
     * ads
     */
    private List<RuleExeAdGroupVo> ads;

    /**
     * 优化类型
     * <ul>
     * <li>dailyBudget:调整日预算</li>
     * <li>lifetimeBudget:调整总预算</li>
     * </ul>
     */
    private String budgetType;

    /**
     * 调整前预算
     */
    private Integer budgetOld;


    /**
     * 调整后预算
     */
    private Integer budgetNew;
    /**
     * 旧出价
     */
    private String bidInfoOld;
    /**
     * 新出价
     */
    private String bidInfoNew;

    /**
     * 调整后状态
     */
    private String status;


    /**
     * 观察类型
     * <ul>
     *  <li>0:不观察</li>
     *  <li>1:按时间观察</li>
     *  <li>2:按花费观察</li>
     * </ul>
     */
    private Integer isWatch;

    /**
     * 持续观察花费
     */
    private Integer delaySpent;

    /**
     * 持续观察时间
     */
    private Integer delayHours;

}
